MCPcopy Create free account
hub / github.com/SincereCSL/Playgrounds / WorkFlow

Class WorkFlow

TypeScript/StudyTypeScript/src/class_02.ts:40–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38
39/// this 类型 实现链式调用
40class WorkFlow {
41 step1() {
42 return this;
43 }
44 step2() {
45 return this;
46 }
47}
48new WorkFlow().step1().step2()
49
50class MyFlow extends WorkFlow {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected