Closed azinit closed 2 years ago
Each segment should have local public-api file declaration
/** @path features/smth/index.ts */ // Fail export { SubmitButton } from "./ui/button"; export { SmthForm } from "./ui/form"; // Pass export { SubmitButton, SmthForm } from "./ui";
/** @path features/smth/index.ts */ // Fail export * from "./model/actions"; export { selectSmthById } from "./model/selectors"; // Pass export * from "./model"; export * as smthModel from "./model"; export { selectSmthById, ... } from "./model";
shared/ui
shared/lib
Description
Each segment should have local public-api file declaration
ToRefine
shared/ui
no-required reexports?shared/lib
no-required reexports?