This file contains hidden or 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
import React from 'react'; | |
// @ts-ignore | |
export const MapsContext = React.createContext<typeof ymaps | null>(null); | |
MapsContext.displayName = 'SDCYandexMaps'; |
This file contains hidden or 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
function BasePage() {} | |
BasePage.create = function(pageConstructor) { | |
return new pageConstructor(); | |
} | |
module.exports = BasePage; |
This file contains hidden or 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
<!-- get @angular/router work, while open inde.html from fylesystem --> | |
<script>document.write('<base href="' + document.location + '" />');</script> |
This file contains hidden or 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
{ | |
"typescript.tsdk": "node_modules/typescript/lib", | |
// format | |
"editor.formatOnSave": true, | |
"editor.formatOnPaste": true, | |
"editor.formatOnType": false, | |
"html.format.enable": false, | |
"json.format.enable": false, | |
// view | |
"editor.renderIndentGuides": true, |
This file contains hidden or 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
{ | |
"extends": [ | |
"tslint:recommended" | |
], | |
"rules": { | |
"import-blacklist": [ | |
true, | |
"rxjs" | |
], | |
"interface-name": [ |