@nx/storybook
Version:
9 lines • 496 B
TypeScript
import { type Tree } from '@nx/devkit';
/**
* This is a temporary fix for Storybook to support TypeScript configuration files.
* The issue is that if there is a root tsconfig.json file, Storybook will use it, and
* ignore the tsconfig.json file in the .storybook folder. This results in module being set
* to esnext, and Storybook does not recognise the main.ts code as a module.
*/
export declare function editRootTsConfig(tree: Tree): void;
//# sourceMappingURL=edit-root-tsconfig.d.ts.map