refactor: typescript support
This commit is contained in:
11
helpers/lenses/rawLens.ts
Normal file
11
helpers/lenses/rawLens.ts
Normal 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
|
||||
Reference in New Issue
Block a user