-
Notifications
You must be signed in to change notification settings - Fork 331
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added missing typing and fixed scss errors
- Loading branch information
1 parent
d9b9071
commit a83972d
Showing
11 changed files
with
44 additions
and
35 deletions.
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
packages/cbioportal-clinical-timeline/src/types/shared-modules.d.ts
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,19 @@ | ||
// Handle all shared imports with a wildcard declaration | ||
declare module 'shared/*'; | ||
|
||
// Handle specific third-party modules that are missing types | ||
declare module 'config/*'; | ||
declare module 'better-react-spinkit'; | ||
declare module 'react-portal'; | ||
declare module 'react-spinkit' { | ||
import * as React from 'react'; | ||
export interface SpinnerProps { | ||
name?: string; | ||
noFadeIn?: boolean; | ||
fadeIn?: string; | ||
className?: string; | ||
style?: React.CSSProperties; | ||
[key: string]: any; | ||
} | ||
export default class Spinner extends React.Component<SpinnerProps> {} | ||
} |
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,7 +1,13 @@ | ||
{ | ||
"extends": "../config/tsconfig.json", | ||
"compilerOptions": { | ||
"typeRoots": [ | ||
"./node_modules/@types", | ||
"./src/types" | ||
] | ||
}, | ||
"include": [ | ||
"src", | ||
"../typings/**/*" | ||
] | ||
} | ||
} |
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
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 |
---|---|---|
|
@@ -65,7 +65,7 @@ $iconFontSize: 14px; | |
} | ||
|
||
.undo { | ||
color: $brand-primary; | ||
color: #3786c2; | ||
} | ||
|
||
.downloadControl { | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,7 +45,7 @@ | |
} | ||
|
||
.pulse-spinner { | ||
color: $brand-primary; | ||
color: #3786c2; | ||
position: absolute; | ||
top: 2px; | ||
div { | ||
|