Sample of WebdriverIO extension framework
Add "node_modules/wdio-extension-framework" in your jsconfig.json file, example:
{ "include": ["node_modules/@wdio/sync", "node_modules/@wdio/mocha-framework", "node_modules/wdio-extension-framework"],
"compilerOptions": { "types": ["node", "webdriverio/sync", "@wdio/mocha-framework"] } }