Override tsep loggerFn with noop (#2144)
* Override tsep loggerFn with noop * Extra function to keep Vjeux happy :Pmaster
parent
f361910036
commit
3726067923
|
@ -35,7 +35,10 @@ function tryParseTypeScript(text, jsx) {
|
|||
tokens: true,
|
||||
comment: true,
|
||||
useJSXTextNode: true,
|
||||
ecmaFeatures: { jsx }
|
||||
ecmaFeatures: { jsx },
|
||||
// Override logger function with noop,
|
||||
// to avoid unsupported version errors being logged
|
||||
loggerFn: () => {}
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue