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 class provides helpers for easy and typesafe mocking with spies | |
*/ | |
// get keys of type | |
export declare function keys<T extends object>(): Array<keyof T>; | |
export class SpyHelper { | |
/* |
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
export class GenericAction<ActionType, PayloadType> { | |
constructor(type: ActionType, payload?: PayloadType) { | |
this.type = type; | |
this.payload = payload; | |
} | |
type: ActionType; | |
payload?: PayloadType; |
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
Show hidden characters
{ | |
"extends": [ | |
"tslint:recommended", | |
"tslint-eslint-rules", | |
"tslint-config-prettier", | |
"tslint-jasmine-rules" | |
], | |
"rulesDirectory": [ | |
"node_modules/codelyzer" | |
], |
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
"prettier": { | |
"singleQuote": true, | |
"printWidth": 100, | |
"semi": true, | |
"bracketSpacing": true, | |
"arrowParens": "always" | |
} |
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
"husky": { | |
"hooks": { | |
"pre-commit": "concurrently --kill-others \"npm run lint\" \"npm run test\" \"npm run build\"", | |
"pre-push": "git pull origin master" | |
} | |
} |
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
{ | |
"gitlens.advanced.messages": { | |
"suppressFileNotUnderSourceControlWarning": true, | |
"suppressShowKeyBindingsNotice": true | |
}, | |
"editor.codeActionsOnSave": { | |
"source.organizeImports": true | |
}, | |
"workbench.editor.enablePreview": false, | |
"tslint.autoFixOnSave": true, |
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
{ | |
"editor.codeActionsOnSave": { | |
"source.organizeImports": true, | |
"tslint.autoFixOnSave": true | |
}, | |
"editor.formatOnSave": true | |
} |
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
{ | |
"hooks": { | |
"commit-msg": "commitlint --config commitlint.config.js -E HUSKY_GIT_PARAMS", | |
"pre-commit": "lint-staged", | |
"post-merge": "post-npm-install" | |
} | |
} |
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
<app-root> | |
<div class="container"> | |
<div class="row"> | |
<div id="loader"> | |
<div class="dot"></div> | |
<div class="dot"></div> | |
<div class="dot"></div> | |
<div class="dot"></div> | |
<div class="dot"></div> | |
<div class="dot"></div> |
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
#loader { | |
bottom: 0; | |
height: 175px; | |
left: 0; | |
margin: auto; | |
position: absolute; | |
right: 0; | |
top: 0; | |
width: 175px; | |
} |
OlderNewer