Skip to content

@hey-api/openapi-ts@0.89.0

Choose a tag to compare

@hey-api hey-api released this 11 Dec 12:15
· 664 commits to main since this release
e552086

Minor Changes

Prefer named exports

This release changes the default for index.ts to prefer named exports. Named exports may lead to better IDE and bundler performance compared to asterisk (*) as your tooling doesn't have to inspect the underlying module to discover exports.

While this change is merely cosmetic, you can set output.preferExportAll to true if you prefer to use the asterisk.

export default {
  input: 'hey-api/backend', // sign up at app.heyapi.dev
  output: {
    path: 'src/client',
    preferExportAll: true,
  },
};

Removed symbol:setValue:* events

These events have been removed in favor of node:set:* events.

Patch Changes