diff --git a/decorator-sample/src/extension.ts b/decorator-sample/src/extension.ts index e37a27194..ae72c0db2 100644 --- a/decorator-sample/src/extension.ts +++ b/decorator-sample/src/extension.ts @@ -5,7 +5,7 @@ export function activate(context: vscode.ExtensionContext) { console.log('decorator sample is activated'); - let timeout: NodeJS.Timer | undefined = undefined; + let timeout: NodeJS.Timeout | undefined = undefined; // create a decorator type that we use to decorate small numbers const smallNumberDecorationType = vscode.window.createTextEditorDecorationType({ diff --git a/decorator-sample/tsconfig.json b/decorator-sample/tsconfig.json index ecb821596..5a2a40e82 100644 --- a/decorator-sample/tsconfig.json +++ b/decorator-sample/tsconfig.json @@ -6,7 +6,9 @@ "outDir": "out", "sourceMap": true, "strict": true, - "rootDir": "src" + "rootDir": "src", + "skipLibCheck": true, + "types": ["node"] }, "exclude": ["node_modules", ".vscode-test"] } \ No newline at end of file