Sfoglia il codice sorgente

use capital letter for keys

Yohei-Shiina 3 anni fa
parent
commit
d64363c1a3
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  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: 1,
+  CUSTOM: 2,
 } as const;
 
 export type RehypeSanitizeOption = typeof RehypeSanitizeOption[keyof typeof RehypeSanitizeOption];