Przeglądaj źródła

number -> string

Shun Miyazawa 3 lat temu
rodzic
commit
ac67a0d133
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      packages/app/src/interfaces/rehype.ts

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

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