ukendio / for-animia Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
src/client/systems/spawnEffects.ts:3:10 - error TS2305: Module '"shared/components"' has no exported member 'Effect'.
3 import { Effect } from "shared/components";
~~~~~~
src/client/systems/spawnEffects.ts:4:40 - error TS2307: Cannot find module 'shared/effects/replicate_fx_on_client' or its corresponding type declarations.
4 import { replicate_fx_on_client } from "shared/effects/replicate_fx_on_client";
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/client/systems/spawnEffects.ts:13:26 - error TS2571: Object is of type 'unknown'.
13 const predictionGUID = effect.predictionGUID;
~~~~~~
src/client/systems/spawnEffects.ts:16:18 - error TS2345: Argument of type 'Entity<[unknown]>' is not assignable to parameter of type 'AnyEntity'.
Type 'Entity<[unknown]>' is not assignable to type '{ readonly __nominal_entity: ComponentBundle; }'.
Types of property '__nominal_entity' are incompatible.
Type '[unknown]' is not assignable to type 'ComponentBundle'.
Type 'unknown' is not assignable to type 'AnyComponent'.
Type 'unknown' is not assignable to type 'object'.
16 world.despawn(id);
~~
src/client/systems/spawnEffects.ts:21:18 - error TS2345: Argument of type 'Entity<[unknown]>' is not assignable to parameter of type 'AnyEntity'.
21 world.despawn(id);
~~
src/client/systems/spawnEffects.ts:29:7 - error TS2571: Object is of type 'unknown'.
29 if (effect.source === Players.LocalPlayer) {
~~~~~~
src/server/systems/replication.ts:4:18 - error TS2305: Module '"shared/components"' has no exported member 'Effect'.
4 import { Client, Effect, Renderable } from "shared/components";
~~~~~~
src/server/emitEffects.ts:3:10 - error TS2305: Module '"shared/components"' has no exported member 'Effect'.
3 import { Effect } from "shared/components";
~~~~~~
src/server/systems/damageHurts.ts:2:23 - error TS2305: Module '"shared/components"' has no exported member 'Effect'.
2 import { CombatStats, Effect, Renderable } from "shared/components";
~~~~~~
src/server/systems/damageHurts.ts:7:11 - error TS2339: Property 'target' does not exist on type 'unknown'.
7 const { target, source, variant } = effect;
~~~~~~
src/server/systems/damageHurts.ts:7:19 - error TS2339: Property 'source' does not exist on type 'unknown'.
7 const { target, source, variant } = effect;
~~~~~~
src/server/systems/damageHurts.ts:7:27 - error TS2339: Property 'variant' does not exist on type 'unknown'.
7 const { target, source, variant } = effect;
~~~~~~~
src/server/systems/damageHurts.ts:27:17 - error TS2345: Argument of type 'Entity<[unknown]>' is not assignable to parameter of type 'AnyEntity'.
27 world.despawn(id);
~~
src/server/tests/damageHurts.spec.ts:7:31 - error TS2305: Module '"shared/components"' has no exported member 'Effect'.
7 import { Client, CombatStats, Effect, Renderable } from "shared/components";
~~~~~~
src/server/systems/powerOfFriendship.ts:15:6 - error TS2339: Property 'mapFiltered' does not exist on type 'Query<[Component<{ player: Player; lineSight: Vector3; document: { rewardsMultiplier: number; bonusMultiplier?: number | undefined; }; }>]>'.
15 .mapFiltered(({ player }) => player)
~~~~~~~~~~~
src/server/systems/powerOfFriendship.ts:15:21 - error TS7031: Binding element 'player' implicitly has an 'any' type.
15 .mapFiltered(({ player }) => player)
~~~~~~
src/server/systems/powerOfFriendship.ts:22:40 - error TS7006: Parameter 'player' implicitly has an 'any' type.
22 const friends = players.mapFiltered((player) => {
~~~~~~
src/server/systems/zonesSpawnAgents.ts:21:13 - error TS2322: Type 'Entity<[Component<{ maxCapacity: number; population: number; }>]>' is not assignable to type 'Entity<[Component<{ maxCapacity: number; population: number; }>, Component<{ cf: CFrame; doNotReconcile?: boolean | undefined; }>, Component<{ size: Vector3; }>]>'.
Type 'Entity<[Component<{ maxCapacity: number; population: number; }>]>' is not assignable to type '{ readonly __nominal_entity: [Component<{ maxCapacity: number; population: number; }>, Component<{ cf: CFrame; doNotReconcile?: boolean | undefined; }>, Component<{ size: Vector3; }>]; }'.
Types of property '__nominal_entity' are incompatible.
Type '[Component<{ maxCapacity: number; population: number; }>]' is not assignable to type '[Component<{ maxCapacity: number; population: number; }>, Component<{ cf: CFrame; doNotReconcile?: boolean | undefined; }>, Component<{ size: Vector3; }>]'.
Source has 1 element(s) but target requires 3.
21 Agent({ residentOf: id }),
~~~~~~~~~~
error Command failed with exit code 1.
Seems some files are not committed to the repository
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.