Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(types): Enhance typings structure and module compatibility #5

Merged
merged 2 commits into from
Apr 21, 2024

Commits on Apr 21, 2024

  1. refactor: Reorganize and improve types declaration

    This change reorganizes and refactors the types declaration within the `types` module for better maintainability and future development. It includes restructuring the type definitions for specific API parameters.
    
    Additionally, the `types` module is now re-exported in the main package entry (`index.ts`), and the `declaration` option is enabled in the 'tsconfig.production.json' file.
    
    These changes enable the LSFND package to be correctly imported and used in TypeScript projects with the `module` set to `node16`, `nodenext`, `es5`, `esnext`, and others, in addition to `commonjs`, which was supported in previous release.
    mitsuki31 committed Apr 21, 2024
    Configuration menu
    Copy the full SHA
    6756665 View commit details
    Browse the repository at this point in the history
  2. refactor(build): Include lsTypes module to minify list

    Added the `lsTypes` module to be minified after get transpiled from TypeScript. Other changes is unrelated changes.
    mitsuki31 committed Apr 21, 2024
    Configuration menu
    Copy the full SHA
    4d48e06 View commit details
    Browse the repository at this point in the history