File tree Expand file tree Collapse file tree 5 files changed +5
-11
lines changed
Expand file tree Collapse file tree 5 files changed +5
-11
lines changed Original file line number Diff line number Diff line change 11{
22 "$schema" : " https://unpkg.com/knip@5/schema.json" ,
33 "entry" : [
4- " src/*/index.js" ,
5- " src/index-client.ts" ,
6- " src/index-server.ts" ,
7- " src/index.d.ts" ,
84 " tests/**/*.js" ,
95 " tests/**/*.ts" ,
106 " !tests/**/*.svelte" ,
Original file line number Diff line number Diff line change @@ -18,9 +18,9 @@ import { validate_identifier_name } from './2-analyze/visitors/shared/utils.js';
1818
1919const UNKNOWN = Symbol ( 'unknown' ) ;
2020/** Includes `BigInt` */
21- export const NUMBER = Symbol ( 'number' ) ;
22- export const STRING = Symbol ( 'string' ) ;
23- export const FUNCTION = Symbol ( 'string' ) ;
21+ const NUMBER = Symbol ( 'number' ) ;
22+ const STRING = Symbol ( 'string' ) ;
23+ const FUNCTION = Symbol ( 'string' ) ;
2424
2525/** @type {Record<string, [type: NUMBER | STRING | UNKNOWN, fn?: Function]> } */
2626const globals = {
Original file line number Diff line number Diff line change 11import { STALE_REACTION } from '#client/constants' ;
22
33/** @type {AbortController | null } */
4- export let controller = null ;
4+ let controller = null ;
55
66export function abort ( ) {
77 controller ?. abort ( STALE_REACTION ) ;
Original file line number Diff line number Diff line change 1- /** @import { TemplateNode } from '#client' */
2- /** @import { Getters } from '#shared' */
31import { is_void } from '../../utils.js' ;
42import * as w from './warnings.js' ;
53import * as e from './errors.js' ;
Original file line number Diff line number Diff line change @@ -428,7 +428,7 @@ export function is_mathml(name) {
428428 return MATHML_ELEMENTS . includes ( name ) ;
429429}
430430
431- export const STATE_CREATION_RUNES = /** @type {const } */ ( [
431+ const STATE_CREATION_RUNES = /** @type {const } */ ( [
432432 '$state' ,
433433 '$state.raw' ,
434434 '$derived' ,
You can’t perform that action at this time.
0 commit comments