Quellcode durchsuchen

number -> string

Shun Miyazawa vor 3 Jahren
Ursprung
Commit
ac67a0d133
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  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];