Explorar o código

add rehype interface

Yohei-Shiina %!s(int64=3) %!d(string=hai) anos
pai
achega
30a185a9c7
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  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];