Skip to content

Commit

Permalink
chore: use @deprecated jsdocs for compile rename
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdbradley committed May 9, 2020
1 parent d8705c9 commit 5c29758
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/compiler/public.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,18 +126,18 @@ export {
import { TranspileOptions as CompileOptions, TranspileResults as CompileResults } from '@stencil/core/internal';

/**
* Deprecated, used `transpile()` instead.
* @deprecated Use `transpile()` instead.
*/
export declare const compile: (code: string, opts?: any) => Promise<any>;

/**
* Deprecated, used `transpileSync()` instead.
* @deprecated Use `transpileSync()` instead.
*/
export declare const compileSync: (code: string, opts?: any) => any;

export {
/** Deprecated, use TranspileOptions instead */
/** @deprecated Use TranspileOptions instead */
CompileOptions,
/** Deprecated, use TranspileResults instead */
/** @deprecated Use TranspileResults instead */
CompileResults,
};

0 comments on commit 5c29758

Please sign in to comment.