Skip to content

Commit

Permalink
chore(react-migration-v0-v9): enable cross project TS path aliases fo…
Browse files Browse the repository at this point in the history
…r improved DX
  • Loading branch information
Hotell committed Apr 3, 2023
1 parent 196c33f commit d09eb8c
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"just": "just-scripts",
"lint": "just-scripts lint",
"test": "jest --passWithNoTests",
"type-check": "tsc -b tsconfig.json",
"type-check": "tsc -b tsconfig.type-check.json",
"generate-api": "just-scripts generate-api",
"storybook": "start-storybook",
"start": "yarn storybook"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
useFieldStyles_unstable,
useField_unstable,
} from '@fluentui/react-components/unstable';
import { ObjectShorthandValue } from '@fluentui/react-northstar';
import type { ObjectShorthandValue } from '@fluentui/react-northstar';
import * as React from 'react';

type WithContent = ObjectShorthandValue<React.HTMLAttributes<HTMLDivElement>> | string;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"extends": "../../../tsconfig.base.json",
"extends": "../../../tsconfig.base.all.json",
"compilerOptions": {
"strict": true,
"target": "ES2019",
"noEmit": true,
"isolatedModules": true,
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"paths": {}
},
"include": [],
"files": [],
"references": [
{
"path": "./tsconfig.lib.json"
},
{
"path": "./tsconfig.spec.json"
},
{
"path": "./.storybook/tsconfig.json"
}
]
}

0 comments on commit d09eb8c

Please sign in to comment.