Skip to content

Instantly share code, notes, and snippets.

Nameless frontierpsycho

Block or report user

Report or block frontierpsycho

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@frontierpsycho
frontierpsycho / index.ts
Last active Oct 5, 2016
Typescript bug demonstration #2
View index.ts
class TestClass {
makeFunction(): (someCondition: boolean) => boolean {
return (someCondition: boolean = false) => {
return someCondition;
}
};
}
let test = new TestClass();
@frontierpsycho
frontierpsycho / index.ts
Last active Oct 5, 2016
Typescript bug demonstration #1
View index.ts
class TestClass {
makeFunction(): (someCondition: boolean) => boolean {
return (someCondition: boolean = false) => {
return someCondition;
}
};
}
let test = new TestClass();
View batch_channel_example.go
package main
import (
"fmt"
"strings"
)
var batchSize int = 2
func main() {
You can’t perform that action at this time.