跳到主要内容

接口: IJsHandlerOptions

定义于: types/index.ts:27

属性

alwaysEscape?

optional alwaysEscape: boolean

定义于: types/index.ts:35


arbitraryValues?

optional arbitraryValues: IArbitraryValues

定义于: types/index.ts:30


babelParserOptions?

optional babelParserOptions: ParserOptions

定义于: types/index.ts:38


classNameSet?

optional classNameSet: Set<string>

定义于: types/index.ts:29


escapeMap?

optional escapeMap: Record<string, string>

定义于: types/index.ts:28


generateMap?

optional generateMap: boolean

定义于: types/index.ts:34


ignoreCallExpressionIdentifiers?

optional ignoreCallExpressionIdentifiers: (string | RegExp)[]

定义于: types/index.ts:40


ignoreTaggedTemplateExpressionIdentifiers?

optional ignoreTaggedTemplateExpressionIdentifiers: (string | RegExp)[]

定义于: types/index.ts:39


jsAstTool?

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

定义于: types/index.ts:36


jsPreserveClass()?

optional jsPreserveClass: (keyword) => undefined | boolean

定义于: types/index.ts:32

参数

keyword

string

返回

undefined | boolean


mangleContext?

optional mangleContext: any

定义于: types/index.ts:31


needEscaped?

optional needEscaped: boolean

定义于: types/index.ts:33


unescapeUnicode?

optional unescapeUnicode: boolean

定义于: types/index.ts:37