svelte2tsx 0.6.27 → 0.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +4 -8
- package/index.js +311 -136
- package/index.mjs +311 -136
- package/package.json +1 -1
- package/svelte-shims-v4.d.ts +2 -1
package/index.d.ts
CHANGED
|
@@ -135,16 +135,11 @@ export const internalHelpers: {
|
|
|
135
135
|
options: InternalHelpers.KitFilesSettings
|
|
136
136
|
) => boolean;
|
|
137
137
|
isKitRouteFile: (basename: string) => boolean,
|
|
138
|
-
|
|
138
|
+
isHooksFile: (
|
|
139
139
|
fileName: string,
|
|
140
140
|
basename: string,
|
|
141
|
-
|
|
142
|
-
) =>boolean,
|
|
143
|
-
isServerHooksFile: (
|
|
144
|
-
fileName: string,
|
|
145
|
-
basename: string,
|
|
146
|
-
serverHooksPath: string
|
|
147
|
-
)=> boolean,
|
|
141
|
+
hooksPath: string
|
|
142
|
+
) => boolean,
|
|
148
143
|
isParamsFile: (fileName: string, basename: string, paramsPath: string) =>boolean,
|
|
149
144
|
upsertKitFile: (
|
|
150
145
|
_ts: typeof ts,
|
|
@@ -185,6 +180,7 @@ export namespace InternalHelpers {
|
|
|
185
180
|
export interface KitFilesSettings {
|
|
186
181
|
serverHooksPath: string;
|
|
187
182
|
clientHooksPath: string;
|
|
183
|
+
universalHooksPath: string;
|
|
188
184
|
paramsPath: string;
|
|
189
185
|
}
|
|
190
186
|
}
|