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 CHANGED
@@ -135,16 +135,11 @@ export const internalHelpers: {
135
135
  options: InternalHelpers.KitFilesSettings
136
136
  ) => boolean;
137
137
  isKitRouteFile: (basename: string) => boolean,
138
- isClientHooksFile: (
138
+ isHooksFile: (
139
139
  fileName: string,
140
140
  basename: string,
141
- clientHooksPath: string
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
  }