File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 11The MIT License (MIT)
22
3- Copyright (c) 2015 Jan Jurzitza
3+ Copyright (c) 2019 Jan Jurzitza
44
55Permission is hereby granted, free of charge, to any person obtaining a copy
66of 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:
1616
1717To use, simply get the extension using this code:
1818``` ts
19- import * from " code-d-api" ;
19+ import * as coded from " code-d-api" ;
2020
2121export function activate(context : vscode .ExtensionContext ) {
22- const api: coded .CodedAPI | undefined ;
22+ let api: coded .CodedAPI | undefined ;
2323 const codedExtension = vscode .extensions .getExtension <coded .CodedAPI >(coded .codedExtensionId );
2424 if (codedExtension ) {
2525 api = codedExtension .exports ;
You can’t perform that action at this time.
0 commit comments