Skip to content

feat: add typescript checkint to all examples #1231

feat: add typescript checkint to all examples

feat: add typescript checkint to all examples #1231

Triggered via push September 13, 2024 14:35
Status Failure
Total duration 31s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
build: src/components/draw/fadeIn.ts#L17
Type '(this: GameObj<OpacityComp>) => void' is not assignable to type '(this: GameObj<any>) => void'.
build: src/components/draw/sprite.ts#L336
Type '(this: GameObj<SpriteComp>) => void' is not assignable to type '(this: GameObj<any>) => void'.
build: src/components/level/agent.ts#L111
Type '(this: GameObj<PosComp | AgentComp>) => void' is not assignable to type '(this: GameObj<any>) => void'.
build: src/components/level/patrol.ts#L77
Type '(this: GameObj<PosComp | PatrolComp>) => void' is not assignable to type '(this: GameObj<any>) => void'.
build: src/components/level/sentry.ts#L141
Type '(this: GameObj<PosComp | SentryComp>) => void' is not assignable to type '(this: GameObj<any>) => void'.
build: src/components/misc/boom.ts#L10
Type '(this: GameObj<ScaleComp>) => void' is not assignable to type '(this: GameObj<any>) => void'.
build: src/components/misc/fakeMouse.ts#L55
Type '(this: FakeMouse) => void' is not assignable to type '(this: GameObj<any>) => void'.
build: src/components/physics/body.ts#L300
Type '(this: GameObj<PosComp | AreaComp | BodyComp>) => void' is not assignable to type '(this: GameObj<any>) => void'.
build: src/components/physics/effectors.ts#L147
Type '(this: GameObj<BodyComp | ConstantForceComp>) => void' is not assignable to type '(this: GameObj<any>) => void'.
build: src/components/transform/follow.ts#L30
Type '(this: GameObj<PosComp | FollowComp>) => void' is not assignable to type '(this: GameObj<any>) => void'.