Skip to content

Instantly share code, notes, and snippets.

@saleebm
Last active November 26, 2019 01:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save saleebm/f037525f8c811382e3adc5706e76b2ff to your computer and use it in GitHub Desktop.
Save saleebm/f037525f8c811382e3adc5706e76b2ff to your computer and use it in GitHub Desktop.
typeof Life
type Eternal = unknown;
type Dust<T extends any[], R> = (...args: T) => R;
class Sin extends Error {
source: InnerLife;
}
class Choices implements Sweat {
Labor: any[][];
Toil: any[][];
private Implusitivity: RandomSource;
private Sorrow: Emotions;
addEventListener(
type: string,
listener: EventListenerOrEventListenerObject,
options?: boolean | AddEventListenerOptions
): void {
bubbles: true;
cancelable: false;
}
dispatchEvent(event: Event): boolean {
throw new Error("Watch your heart, from it proceed your thoughts.");
}
removeEventListener(
type: string,
callback: EventListenerOrEventListenerObject,
options?: boolean | EventListenerOptions
): void {
throw new Error("They become your actions.");
}
constructor(public outcome: any[], { details }: { details: string[] }) {}
handleEvent(outcome) {
outcome.map((consequences: {}) => {});
}
}
interface Bible {
Books: string[][];
MoralLaw: boolean[];
}
type Truth = {
WordOfGod: Bible;
}
interface Food extends EventSource {
Nourishment: any[];
}
interface Sweat extends EventTarget {
Labor: any[][];
Toil: any[][];
}
interface Emotions extends EventHandlerNonNull {
Purpose: GlobalEventHandlers;
Usage: (arg0: Choices) => void;
}
interface Desires extends EventListenerOptions {}
type InnerLife = {
love: Emotions;
longingForGod: Truth;
rejoicing: Desires;
knowing: OfLife;
memory: Human;
onEvent?: Choices;
};
interface OfLife extends Function {
Blood: (arg0: Dust<Food[], Sweat>) => void;
// "For what will it profit a man if he gains the whole world,
// and loses his own soul? Or what will a man give in exchange
// for his soul?" (Mark 8:36).
Alive: boolean;
InnerLife: Choices[];
}
type Human = {
meta?: (...Dust: any[]) => void;
spirit: ({ breathOfGod }: { breathOfGod: Eternal }) => Promise<Eternal>;
// "For the life of the flesh is in the blood:
// and I have given it to you upon the altar to make an atonement for your souls:
// for it is the blood that maketh an atonement for the soul. Lev. 17:11"
soul?: OfLife;
};
const Human = function() {};
const blessing = null;
/**
* probably need to evaluate the conditions of humanity.
*/
const Person = new Human();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment