don't warn
This commit is contained in:
parent
1b728c62ab
commit
d5963f23ea
1 changed files with 2 additions and 2 deletions
|
@ -227,7 +227,7 @@ const buildExpr = (s: string, c: TreeCursor): term => {
|
||||||
export const parseExpr = (s: string) => {
|
export const parseExpr = (s: string) => {
|
||||||
const tree = buildParser(parserSource("Expr"), {
|
const tree = buildParser(parserSource("Expr"), {
|
||||||
typeScript: true,
|
typeScript: true,
|
||||||
warn: false,
|
warn: () => {},
|
||||||
}).parse(s);
|
}).parse(s);
|
||||||
|
|
||||||
const cursor = tree.cursor();
|
const cursor = tree.cursor();
|
||||||
|
@ -238,7 +238,7 @@ export const parseExpr = (s: string) => {
|
||||||
export const parseTy = (s: string) => {
|
export const parseTy = (s: string) => {
|
||||||
const tree = buildParser(parserSource("Ty"), {
|
const tree = buildParser(parserSource("Ty"), {
|
||||||
typeScript: true,
|
typeScript: true,
|
||||||
warn: false,
|
warn: () => {},
|
||||||
}).parse(s);
|
}).parse(s);
|
||||||
|
|
||||||
const cursor = tree.cursor();
|
const cursor = tree.cursor();
|
||||||
|
|
Loading…
Reference in a new issue