@tuyau/core 0.2.0 → 0.2.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.
@@ -220,8 +220,8 @@ var ApiTypesGenerator = class {
220
220
  writer.writeLine(`export const api = {`).writeLine(` routes,`).writeLine(` definition: {} as ApiDefinition`).writeLine(`}`);
221
221
  if (isTuyauInertiaInstalled) {
222
222
  writer.writeLine(`declare module '@tuyau/inertia/types' {`);
223
- writer.writeLine(` type ApiDefinition = typeof api`);
224
- writer.writeLine(` export interface Api extends ApiDefinition {}`);
223
+ writer.writeLine(` type InertiaApi = typeof api`);
224
+ writer.writeLine(` export interface Api extends InertiaApi {}`);
225
225
  writer.writeLine(`}`);
226
226
  }
227
227
  });
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tuyau/core",
3
3
  "type": "module",
4
- "version": "0.2.0",
4
+ "version": "0.2.1",
5
5
  "description": "",
6
6
  "author": "",
7
7
  "license": "MIT",