Sha256: c76f95fcb37d9f93b7a1bee78a0a5f332b431bcb2dd0445e4e388606b50f0180
Contents?: true
Size: 485 Bytes
Versions: 11
Compression:
Stored size: 485 Bytes
Contents
import t from "@babel/types"; export default function generateAsserts() { let output = `/* * This file is auto-generated! Do not modify it directly. * To re-generate run 'make build' */ import * as t from "@babel/types"; import NodePath from "../index"; export interface NodePathAssetions {`; for (const type of [...t.TYPES].sort()) { output += ` assert${type}( opts?: object, ): asserts this is NodePath<t.${type}>;`; } output += ` }`; return output; }
Version data entries
11 entries across 10 versions & 3 rubygems