feat: Update module exports and enhance TypeScript configuration
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import type { GeneralTriggerState } from '../domain/entities';
|
||||
import { type GeneralActionContext, GeneralTriggerCaller } from './general';
|
||||
import type { GeneralTriggerState } from '../domain/entities.js';
|
||||
import { type GeneralActionContext, GeneralTriggerCaller } from './general.js';
|
||||
|
||||
export interface GeneralActionModule<TriggerState extends GeneralTriggerState = GeneralTriggerState> {
|
||||
getName?(): string;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import type { General, GeneralTriggerState } from '../domain/entities';
|
||||
import type { RandomGenerator } from '../ports/rng';
|
||||
import type { WorldStateRepository } from '../ports/world';
|
||||
import { TriggerCaller, type Trigger } from './core';
|
||||
import type { General, GeneralTriggerState } from '../domain/entities.js';
|
||||
import type { RandomGenerator } from '../ports/rng.js';
|
||||
import type { WorldStateRepository } from '../ports/world.js';
|
||||
import { TriggerCaller, type Trigger } from './core.js';
|
||||
|
||||
export interface GeneralActionLogSink {
|
||||
push(message: string): void;
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
export * from './core';
|
||||
export * from './general';
|
||||
export * from './general-action';
|
||||
export * from './core.js';
|
||||
export * from './general.js';
|
||||
export * from './general-action.js';
|
||||
|
||||
Reference in New Issue
Block a user