refactor: typescript support

This commit is contained in:
liyasthomas
2021-09-15 17:30:04 +05:30
parent 96bcbc80f8
commit 4e8a4e8914
21 changed files with 98 additions and 176 deletions

11
helpers/lenses/rawLens.ts Normal file
View File

@@ -0,0 +1,11 @@
import { Lens } from "./lenses"
const rawLens: Lens = {
lensName: "response.raw",
isSupportedContentType: () => true,
renderer: "raw",
rendererImport: () =>
import("~/components/lenses/renderers/RawLensRenderer.vue"),
}
export default rawLens