volar-service-typescript 0.0.32 → 0.0.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  export { Provide } from './lib/plugins/semantic';
2
2
  import { create as createSemanticServicePlugin } from './lib/plugins/semantic';
3
3
  import { create as createSyntacticServicePlugin } from './lib/plugins/syntactic';
4
- export declare function create(ts: typeof import('typescript'), options: Parameters<typeof createSemanticServicePlugin>[1] & Parameters<typeof createSyntacticServicePlugin>[1]): import("@volar/language-service").ServicePlugin[];
4
+ export declare function create(ts: typeof import('typescript'), options?: Parameters<typeof createSemanticServicePlugin>[1] & Parameters<typeof createSyntacticServicePlugin>[1]): import("@volar/language-service").ServicePlugin[];
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -501,12 +501,10 @@ function convertFileTextChanges(changes, fileNameToUri, getTextDocument) {
501
501
  workspaceEdit.documentChanges = [];
502
502
  }
503
503
  const uri = fileNameToUri(change.fileName);
504
- let doc = getTextDocument(uri);
504
+ const doc = getTextDocument(uri);
505
505
  if (change.isNewFile) {
506
506
  workspaceEdit.documentChanges.push({ kind: 'create', uri });
507
507
  }
508
- if (!change.isNewFile)
509
- continue;
510
508
  workspaceEdit.documentChanges.push({
511
509
  textDocument: {
512
510
  uri,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "volar-service-typescript",
3
- "version": "0.0.32",
3
+ "version": "0.0.33",
4
4
  "description": "Integrate TypeScript into Volar",
5
5
  "homepage": "https://github.com/volarjs/services/tree/master/packages/typescript",
6
6
  "bugs": "https://github.com/volarjs/services/issues",
@@ -42,5 +42,5 @@
42
42
  "optional": true
43
43
  }
44
44
  },
45
- "gitHead": "717049e7dcd5c30f451f6db8eb71eaba43f74c83"
45
+ "gitHead": "d04c9ea5f5b58c5e0b6db9a65a8aba1a5a2ed9ef"
46
46
  }