Skip to content

Instantly share code, notes, and snippets.

@skovy
Created December 9, 2020 19:26
Show Gist options
  • Select an option

  • Save skovy/7469569ec87aa66036533f8c41fd2447 to your computer and use it in GitHub Desktop.

Select an option

Save skovy/7469569ec87aa66036533f8c41fd2447 to your computer and use it in GitHub Desktop.
// actions/index.ts
import * as name from './actions/name';
// other action imports ...
export interface Action {
name: string;
canPerform(): boolean;
perform(): void;
}
const ACTIONS: Action[] = [
name,
// other actions...
];
export function calculateActions(): Action[] {
return ACTIONS.filter((action) => action.canPerform());
}
@el280
Copy link

el280 commented Jan 21, 2024

Console.long("bonjour");

@ilyass916
Copy link

bonjour

@qsdfghjjjj45
Copy link

Console.long("bonjour");

@hmyahya81-design
Copy link

you have intirsent to welcomr are you haker #@$3%4^%&^&*)9-97936pouytrdket
mifdm, hgdkh hf7bh9yeouy urn jv iscuidfvoioequr-0gi
UWayustunb4%*7
\s'dl

c+++asKJ
paytonYQ_

@mohammedelmaliki93-blip

##################################### SSTech #########

programming courses

#################################

@mohammedelmaliki93-blip

Bojoure tout le monde

**
**

@amineakhmassi90-art
Copy link

hi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment