diff --git a/nodejs/index.d.ts b/nodejs/index.d.ts index 89c19ec..cd79bea 100644 --- a/nodejs/index.d.ts +++ b/nodejs/index.d.ts @@ -8,6 +8,14 @@ export type Cfg = { __doNotUseCfgDirectly: string & { __itIsANapiExternalValue: * @returns An opaque value that can be passed to minify functions */ export function createConfiguration (options: { + /** Do not omit closing tags when possible. */ + keep_closing_tags?: boolean; + /** Do not omit `` and `` opening tags when they don't have attributes. */ + keep_html_and_head_opening_tags?: boolean; + /** Keep spaces between attributes when possible to conform to HTML standards. */ + keep_spaces_between_attributes?: boolean; + /** Keep all comments. */ + keep_comments?: boolean; /** * If enabled, content in `