Skip to content

Commit

Permalink
fix: fix tsconfig for comments
Browse files Browse the repository at this point in the history
  • Loading branch information
daybrush committed Dec 3, 2022
1 parent 4f303aa commit 7314648
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 8 deletions.
4 changes: 2 additions & 2 deletions packages/infinite-viewer/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ export interface AnimationOptions {
export interface ScrollOptions extends AnimationOptions {
/**
* How to calculate delta and scroll amount
* Whether to calculate scroll amount based on screen (offset)
* Whether to calculate scroll amount based on screen (client)
* @default false
*/
absolute?: boolean;
Expand All @@ -178,7 +178,7 @@ export interface GetScollPosOptions {
range?: boolean;
/**
* How to get scroll pos
* Whether to calculate scroll amount based on screen (offset)
* Whether to calculate scroll amount based on screen (client)
* @default false
*/
absolute?: boolean;
Expand Down
1 change: 1 addition & 0 deletions packages/infinite-viewer/tsconfig.declaration.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"extends": "./tsconfig",
"compilerOptions": {
"declaration": true,
"removeComments": false,
"emitDeclarationOnly": true,
"declarationDir": "declaration"
}
Expand Down
2 changes: 1 addition & 1 deletion packages/lit-infinite-viewer/tsconfig.declaration.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"allowJs": false,
"noEmit": false,
"isolatedModules": false,
"removeComments": true,
"removeComments": false,
"declaration": true,
"emitDeclarationOnly": true,
"declarationDir": "declaration"
Expand Down
2 changes: 1 addition & 1 deletion packages/preact-infinite-viewer/tsconfig.declaration.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"allowJs": false,
"noEmit": false,
"isolatedModules": false,
"removeComments": true,
"removeComments": false,
"declaration": true,
"emitDeclarationOnly": true,
"declarationDir": "declaration"
Expand Down
2 changes: 1 addition & 1 deletion packages/react-infinite-viewer/tsconfig.declaration.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"allowJs": false,
"noEmit": false,
"isolatedModules": false,
"removeComments": true,
"removeComments": false,
"declaration": true,
"emitDeclarationOnly": true,
"declarationDir": "declaration"
Expand Down
2 changes: 1 addition & 1 deletion packages/svelte-infinite-viewer/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
// "outDir": "./", /* Redirect output structure to the directory. */
// "rootDir": "./", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
// "composite": true, /* Enable project compilation */
// "removeComments": true, /* Do not emit comments to output. */
// "removeComments": false, /* Do not emit comments to output. */
// "noEmit": true, /* Do not emit outputs. */
// "importHelpers": true, /* Import emit helpers from 'tslib'. */
// "downlevelIteration": true, /* Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'. */
Expand Down
2 changes: 1 addition & 1 deletion packages/vue-infinite-viewer/tsconfig.declaration.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"extends": "./tsconfig",
"compilerOptions": {
"removeComments": true,
"removeComments": false,
"declaration": true,
"emitDeclarationOnly": true,
"declarationDir": "declaration"
Expand Down
2 changes: 1 addition & 1 deletion packages/vue3-infinite-viewer/tsconfig.declaration.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"extends": "./tsconfig",
"compilerOptions": {
"removeComments": true,
"removeComments": false,
"declaration": true,
"emitDeclarationOnly": true,
"declarationDir": "declaration"
Expand Down

0 comments on commit 7314648

Please sign in to comment.