Răsfoiți Sursa

add rehype interface

Yohei-Shiina 3 ani în urmă
părinte
comite
30a185a9c7
1 a modificat fișierele cu 6 adăugiri și 0 ștergeri
  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];