Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[STRIPES-859] Re-export type declarations from stripes-types #208

Closed
wants to merge 7 commits into from
Closed
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
11 changes: 10 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
{
"extends": "@folio/eslint-config-stripes"
"extends": "@folio/eslint-config-stripes",
"overrides": [
{
"files": ["**/*.d.ts"],
"rules": {
// eslint does not like .d.ts files without a corresponding .js file
"import/no-unresolved": "off"
}
zburke marked this conversation as resolved.
Show resolved Hide resolved
}
]
}
1 change: 1 addition & 0 deletions components/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from '@folio/stripes-types/components';
ncovercash marked this conversation as resolved.
Show resolved Hide resolved
1 change: 1 addition & 0 deletions core/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from '@folio/stripes-types/core';
2 changes: 2 additions & 0 deletions final-form/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export { default } from '@folio/stripes-types/final-form';
export * from '@folio/stripes-types/final-form';
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"@folio/stripes-form": "~8.1.0",
"@folio/stripes-logger": "~1.0.0",
"@folio/stripes-smart-components": "~8.1.0",
"@folio/stripes-types": "^1.0.1",
"@folio/stripes-ui": "~1.1.0",
"@folio/stripes-util": "~5.2.1",
"redux": "^4.2.1"
Expand Down
2 changes: 2 additions & 0 deletions smart-components/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export { default } from '@folio/stripes-types/smart-components';
export * from '@folio/stripes-types/smart-components';