Skip to content

Instantly share code, notes, and snippets.

Avatar
🍕
OSS on my mind

Tylor Steinberger TylorS

🍕
OSS on my mind
View GitHub Profile
View tslint.json
{
"rules": {
"adjacent-overload-signatures": true,
"align": [
true,
"statements"
],
"array-type": [
true,
"generic"
@TylorS
TylorS / HtmlProperties.ts
Created May 6, 2017
TypeScript typings for all DOM properties
View HtmlProperties.ts
// tslint:disable:max-file-line-count
export type NodeProperties =
{
nodeValue?: string | null;
textContent?: string | null;
};
export type ElementProperties = NodeProperties &
{
className?: string;