Skip to content

Instantly share code, notes, and snippets.

View RyanCavanaugh's full-sized avatar
🏃‍♂️
Catching up

Ryan Cavanaugh RyanCavanaugh

🏃‍♂️
Catching up
View GitHub Profile
@RyanCavanaugh
RyanCavanaugh / empty.graphql
Created August 8, 2019 20:57
Failing GraphQL query
{
issue_1: repository(owner: "microsoft", name: "TypeScript") {
issueOrPullRequest(number: 1) {
...IssueOrPRBody
}
}
issue_2: repository(owner: "microsoft", name: "TypeScript") {
issueOrPullRequest(number: 2) {
...IssueOrPRBody
}
@RyanCavanaugh
RyanCavanaugh / text.txt
Created January 3, 2020 19:36
TypeScript Checklist
Programming Language Checklist
by Colin McMillen, Jason Reed, and Elly Jones.
You appear to be advocating a new:
[ ] functional [ ] imperative [ ] object-oriented [ ] procedural [ ] stack-based
[x] "multi-paradigm" [ ] lazy [ ] eager [x] statically-typed [ ] dynamically-typed
[ ] pure [ ] impure [ ] non-hygienic [ ] visual [ ] beginner-friendly
[ ] non-programmer-friendly [ ] completely incomprehensible
programming language. Your language will not work. Here is why it will not work.
You appear to believe that:

Strict Environment

Problem Statement

Strict Environment is intended to address three distinct problems that are frequently encountered by TypeScript developers.

This is an alternative approach to solving the problems that placeholder types were intended to address.

Problem 1: Augmentation Pollution