qsharp-lang 1.0.18-dev → 1.0.19-dev

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.
@@ -3,9 +3,6 @@ import { IServiceProxy, ServiceState } from "../worker-proxy.js";
3
3
  import { IQscEventTarget } from "./events.js";
4
4
  type Wasm = typeof import("../../lib/node/qsc_wasm.cjs");
5
5
  export interface ICompiler {
6
- /**
7
- * @deprecated use the language service for errors and other editor features.
8
- */
9
6
  checkCode(code: string): Promise<VSDiagnostic[]>;
10
7
  getHir(code: string): Promise<string>;
11
8
  run(code: string, expr: string, shots: number, eventHandler: IQscEventTarget): Promise<void>;
@@ -17,9 +14,6 @@ export type CompilerState = ServiceState;
17
14
  export declare class Compiler implements ICompiler {
18
15
  private wasm;
19
16
  constructor(wasm: Wasm);
20
- /**
21
- * @deprecated use the language service for errors and other editor features.
22
- */
23
17
  checkCode(code: string): Promise<VSDiagnostic[]>;
24
18
  getQir(code: string): Promise<string>;
25
19
  getHir(code: string): Promise<string>;
@@ -10,9 +10,6 @@ export class Compiler {
10
10
  this.wasm = wasm;
11
11
  globalThis.qscGitHash = this.wasm.git_hash();
12
12
  }
13
- /**
14
- * @deprecated use the language service for errors and other editor features.
15
- */
16
13
  async checkCode(code) {
17
14
  let diags = [];
18
15
  const languageService = new this.wasm.LanguageService((uri, version, errors) => {