-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable warning of unused variables in types/tests (#8607)
- Loading branch information
Showing
6 changed files
with
14 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
rules: | ||
'@typescript-eslint/no-unused-vars': 'off' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
import { LayoutPosition } from '../../index.esm'; | ||
|
||
export const left: LayoutPosition = 'left'; | ||
export const right: LayoutPosition = 'right'; | ||
export const top: LayoutPosition = 'top'; | ||
export const bottom: LayoutPosition = 'bottom'; | ||
export const center: LayoutPosition = 'center'; | ||
export const axis: LayoutPosition = { x: 10 }; | ||
const left: LayoutPosition = 'left'; | ||
const right: LayoutPosition = 'right'; | ||
const top: LayoutPosition = 'top'; | ||
const bottom: LayoutPosition = 'bottom'; | ||
const center: LayoutPosition = 'center'; | ||
const axis: LayoutPosition = { x: 10 }; | ||
|
||
// @ts-expect-error invalid position | ||
export const invalid: LayoutPosition = 'none'; | ||
const invalid: LayoutPosition = 'none'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters