chore(docs): yaml import types

This commit is contained in:
Greg Richardson committed 2023-05-04 18:48:08 -06:00
1 parent ed8798e60c
commit 695b00c0ce
31 files changed
+16 -39

No files matched your search

+2
View File
@@ -1 +1,3 @@
export * from './next'
export type Json = string | number | boolean | { [key: string]: Json } | Json[]
+13
View File
@@ -0,0 +1,13 @@
declare module '*.yml' {
import { Json } from '.'
const value: Json
export default value
}
declare module '*.yaml' {
import { Json } from '.'
const value: Json
export default value
}