File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
The MIT License (MIT)
2
2
3
- Copyright (c) 2015 Jan Jurzitza
3
+ Copyright (c) 2019 Jan Jurzitza
4
4
5
5
Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
of this software and associated documentation files (the "Software"), to deal
Original file line number Diff line number Diff line change @@ -16,10 +16,10 @@ Add code-d as dependency to your vscode extension inside the package.json:
16
16
17
17
To use, simply get the extension using this code:
18
18
``` ts
19
- import * from " code-d-api" ;
19
+ import * as coded from " code-d-api" ;
20
20
21
21
export function activate(context : vscode .ExtensionContext ) {
22
- const api: coded .CodedAPI | undefined ;
22
+ let api: coded .CodedAPI | undefined ;
23
23
const codedExtension = vscode .extensions .getExtension <coded .CodedAPI >(coded .codedExtensionId );
24
24
if (codedExtension ) {
25
25
api = codedExtension .exports ;
You can’t perform that action at this time.
0 commit comments