Skip to content

Conversation

@colinaaa
Copy link
Contributor

Currently, the types of rslog does not work with "moduleResolution": "node16" as it's missing .js extension.

// dist/index.d.ts
export { createLogger } from './createLogger';
export declare let logger: import("./types").Logger;
export type { Options, Logger, LogType, LogLevel, LogMessage, LogFunction, } from './types';

See: https://github.com/lynx-family/lynx-stack/actions/runs/15828872031/job/44616766782?pr=1131

This patch solve the problem by enabling DTS bundle.

@chenjiahan chenjiahan merged commit ef38372 into rstackjs:main Jun 24, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants