0.0.1
Type-safe custom type systems in TypeScript.
Attributes
Includes Deno configuration
Repository
Current version released
10 months ago
Versions
type_system
Type-safe custom type systems in TypeScript.
Usage
import type {
Schema,
System,
} from "https://deno.land/x/type_system@$VERSION/mod.ts";
const SCHEMA = {
deno_deploy: {
project_name: "string",
},
google_sheets: {
sheet_id: "string",
},
} as const satisfies Schema;
const system: System<typeof SCHEMA> = {
components: [
{
kind: "deno_deploy",
project_name: "string",
},
{
kind: "google_sheets",
sheet_id: "string",
},
],
};
console.log(system);
Development
Make sure to install Deno: https://deno.land/manual/getting_started/installation.
Format the project:
deno fmt
Lint the project:
deno lint
Run tests:
deno test
Update dependencies:
deno task udd
License
Developed with 💖 by @EthanThatOneKid