Skip to content

Commit 8c0e697

Browse files
author
Loïc Mangeonjean
committed
fix: proxify all namespaces
1 parent 191dffa commit 8c0e697

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

src/api.ts

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,12 @@ const unsupported = <any>undefined
4343

4444
const api: typeof vscode = {
4545
version: VSCODE_VERSION,
46-
47-
tasks: unsupported,
48-
notebooks: unsupported,
49-
scm: unsupported,
50-
comments: unsupported,
51-
authentication: unsupported,
52-
tests: unsupported,
53-
46+
tasks: createProxy('tasks'),
47+
notebooks: createProxy('notebooks'),
48+
scm: createProxy('scm'),
49+
comments: createProxy('comments'),
50+
authentication: createProxy('authentication'),
51+
tests: createProxy('tests'),
5452
extensions: createProxy('extensions'),
5553
debug: createProxy('debug'),
5654
env: createProxy('env'),

0 commit comments

Comments
 (0)