Przeglądaj źródła

add rehype interface

Yohei-Shiina 3 lat temu
rodzic
commit
30a185a9c7
1 zmienionych plików z 6 dodań i 0 usunięć
  1. 6 0
      packages/app/src/interfaces/rehype.ts

+ 6 - 0
packages/app/src/interfaces/rehype.ts

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