跳到主要内容

接口: IJsHandlerOptions

定义于: types/index.ts:36

属性

always?

optional always: boolean

定义于: types/index.ts:44


arbitraryValues?

optional arbitraryValues: IArbitraryValues

定义于: types/index.ts:39


babelParserOptions?

optional babelParserOptions: ParserOptions

定义于: types/index.ts:47


classNameSet?

optional classNameSet: Set<string>

定义于: types/index.ts:38


escapeMap?

optional escapeMap: Record<string, string>

定义于: types/index.ts:37


generateMap?

optional generateMap: boolean

定义于: types/index.ts:43


ignoreCallExpressionIdentifiers?

optional ignoreCallExpressionIdentifiers: (string | RegExp)[]

定义于: types/index.ts:49


ignoreTaggedTemplateExpressionIdentifiers?

optional ignoreTaggedTemplateExpressionIdentifiers: (string | RegExp)[]

定义于: types/index.ts:48


jsAstTool?

optional jsAstTool: "babel" | "ast-grep"

定义于: types/index.ts:45


jsPreserveClass()?

optional jsPreserveClass: (keyword) => undefined | boolean

定义于: types/index.ts:41

参数

keyword

string

返回

undefined | boolean


mangleContext?

optional mangleContext: IMangleScopeContext

定义于: types/index.ts:40


needEscaped?

optional needEscaped: boolean

定义于: types/index.ts:42


unescapeUnicode?

optional unescapeUnicode: boolean

定义于: types/index.ts:46