Parcourir la source

number -> string

Shun Miyazawa il y a 3 ans
Parent
commit
ac67a0d133
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  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];