mirror of
https://github.com/swc-project/swc.git
synced 2024-09-11 08:45:34 +03:00
chore(bindings/node): Deprecate parse
(#9419)
This commit is contained in:
parent
ce761cf515
commit
1bf467d99f
@ -76,6 +76,9 @@ export class Compiler {
|
||||
throw new Error("Bindings not found.");
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated Use Rust instead.
|
||||
*/
|
||||
parse(
|
||||
src: string,
|
||||
options: ParseOptions & { isModule: false }
|
||||
@ -386,6 +389,9 @@ export class Compiler {
|
||||
|
||||
const compiler = new Compiler();
|
||||
|
||||
/**
|
||||
* @deprecated Use Rust instead.
|
||||
*/
|
||||
export function parse(
|
||||
src: string,
|
||||
options: ParseOptions & { isModule: false }
|
||||
|
Loading…
Reference in New Issue
Block a user