Explorar el Código

number -> string

Shun Miyazawa hace 3 años
padre
commit
ac67a0d133
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      packages/app/src/interfaces/rehype.ts

+ 2 - 2
packages/app/src/interfaces/rehype.ts

@@ -1,6 +1,6 @@
 export const RehypeSanitizeOption = {
-  RECOMMENDED: 1,
-  CUSTOM: 2,
+  RECOMMENDED: 'Recommended',
+  CUSTOM: 'Custom',
 } as const;
 
 export type RehypeSanitizeOption = typeof RehypeSanitizeOption[keyof typeof RehypeSanitizeOption];