Skip to content

Commit 88d4595

Browse files
committed
feat: switch from symbols to consts for builder
1 parent f5bd0cb commit 88d4595

23 files changed

Lines changed: 4 additions & 1103 deletions

File tree

builder.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ import { pipe } from "fun/fn";
2626

2727
import * as R from "./router.ts";
2828

29-
const PartialRouteSymbol: unique symbol = Symbol("pick/partial_route");
29+
const PartialRouteSymbol = "PARTIAL_ROUTE" as const;
3030
type PartialRouteSymbol = typeof PartialRouteSymbol;
3131

32-
const ClientRedirectSymbol: unique symbol = Symbol("pick/client_redirect");
32+
const ClientRedirectSymbol = "CLIENT_REDIRECT" as const;
3333
type ClientRedirectSymbol = typeof ClientRedirectSymbol;
3434

35-
const ClientRootSymbol: unique symbol = Symbol("pick/client_root");
35+
const ClientRootSymbol = "CLIENT_ROOT" as const;
3636
type ClientRootSymbol = typeof ClientRootSymbol;
3737

3838
// #region Bundler Interface

deno.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@baetheus/pick",
3-
"version": "0.2.0-rc.1",
3+
"version": "0.2.0-rc.2",
44
"compilerOptions": {
55
"jsx": "react-jsx",
66
"jsxImportSource": "preact"

examples/builder-simple/deno.json

Lines changed: 0 additions & 18 deletions
This file was deleted.

examples/builder-simple/deno.lock

Lines changed: 0 additions & 291 deletions
This file was deleted.

0 commit comments

Comments
 (0)