- TypeScript 1.5 http://www.typescriptlang.org/
- WebPack http://webpack.github.io/
- awesome-typescript-loader https://github.com/s-panferov/awesome-typescript-loader
- DefinitelyTyped http://definitelytyped.org/
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
interface Option<T> { | |
map <U>(fn: (a: T) => U): Option<U>; | |
isSome(): boolean; | |
isNone(): boolean; | |
isSomeAnd(fn: (a: T) => boolean): boolean; | |
isNoneAnd(fn: () => boolean): boolean; | |
unwrap(): T; | |
unwrapOr(def: T): T; | |
unwrapOrElse(f: () => T): T; | |
map<U>(f: (a: T) => U): Option<U>; |
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
interface Result<T, E> { | |
map<U>(fn: (a: T) => U): Result<U, E>; | |
mapErr<U>(fn: (a: E) => U): Result<T, U>; | |
isOk(): boolean; | |
isErr(): boolean; | |
ok(): Option<T>; | |
err(): Option<E>; | |
and<U>(res: Result<U,E>): Result<U,E>; | |
andThen<U>(op: (T) => Result<U,E>): Result<U,E>; |
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
var webpack = require('webpack'); | |
var path = require("path"); | |
module.exports = { | |
entry: { | |
app: './src/app/app.ts', | |
vendor: [ | |
"jquery", | |
"jquery-mockjax", |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>com.docker.vmnetd</string> | |
<key>Program</key> | |
<string>/Library/PrivilegedHelperTools/com.docker.vmnetd</string> | |
<key>ProgramArguments</key> | |
<array> |
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
package main | |
import ( | |
"bufio" | |
"fmt" | |
"net" | |
) | |
func handleConnection(conn net.Conn) { | |
fmt.Println(conn) |
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
{ | |
"auto_complete_commit_on_tab": true, | |
"bold_folder_labels": true, | |
"color_scheme": "Packages/Color Scheme - Default/Dawn.tmTheme", | |
"ensure_newline_at_eof_on_save": true, | |
"file_exclude_patterns": | |
[ | |
".DS_Store", | |
".tags*", | |
"*.pyc", |
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
declare module "react-redux" { | |
import React from "react"; | |
import * as redux from "redux"; | |
interface ProviderProps { | |
store: redux.Store<any, any>; | |
} | |
interface ProviderState { | |
store: redux.Store<any, any>; |
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
import * as Immutable from 'immutable'; | |
import { | |
Profile, | |
User, | |
} from './models'; | |
export { | |
Profile, | |
User, |
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
webpackJsonp([0],[ | |
/* 0 */ | |
/***/ function(module, exports, __webpack_require__) { | |
module.exports = __webpack_require__(1); | |
/***/ }, | |
/* 1 */ | |
/***/ function(module, exports) { |
NewerOlder