swc/bundler/tests/.cache/untrusted/2a1f6c7c77d0cbed3a9e788ef2e17c9f8534ea47.ts
강동윤 bbaf619f63
fix(bundler): Fix bugs (#1437)
swc_bundler:
 - [x] Fix wrapped esms. (denoland/deno#9307)
 - [x] Make test secure.
2021-03-02 17:33:03 +09:00

21 lines
513 B
TypeScript

// Loaded from https://raw.githubusercontent.com/colinhacks/zod/654680afc2ede388e71e09104eac5a0088fe3207/deno/lib/types/never.ts
import { ZodTypes } from "../ZodTypes.ts";
import { ZodType, ZodTypeDef } from "./base.ts";
export interface ZodNeverDef extends ZodTypeDef {
t: ZodTypes.never;
}
export class ZodNever extends ZodType<never, ZodNeverDef> {
__class = "ZodNever";
toJSON = () => this._def;
static create = (): ZodNever => {
return new ZodNever({
t: ZodTypes.never,
});
};
}