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
a="jakas"; | |
b="inna"; |
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
type InType<T> = { | |
readonly [P in keyof T]: T[P] | FormValue<any, T[P]>; | |
}; | |
export class FieldsGroupState<T> { | |
private fields: InType<T>; | |
constructor(fields: InType<T>) { | |
this.fields = fields; | |
} |
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
//Action - typ unia, zawierają się w nim wszystkie akcje | |
//StateTodolist - stan modułu todolisty | |
//StateApp - stan aplikacji | |
//todolist.js | |
export const getOfAction(actionName: string) => ((action: Action, state: StateTodolist): StateTodolist | null) => { | |
//na te akcje ten reducer cokolwiek robi |
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
brackets-jshints | |
Eclipse Theme Light | |
Exclude Folders | |
Rust IDE |
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
{ | |
"themes.theme": "brackets-eclipse-theme", | |
"jslint.enable": false, | |
"jshint.options": { | |
"unused": true, | |
"undef": true, | |
"nonew": true, | |
"esnext": true, | |
"evil": true, | |
"eqeqeq": 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
use std::sync::mpsc::{channel, Sender}; | |
use std::thread; | |
use std::time::Duration; | |
struct watch { | |
name : String, | |
chan: Sender<String>, | |
} |