You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ cargo run -- build ./a
info target tgt_01a1ak4y5p6gern0qk513etycjxh6xvv577tv25j0wbnbbmja9pmrg
info build bld_00069htxn5fsx335frdar0bd8xg0
⟳ <unknown>
✓ #default
null
But it fails to typecheck:
$ cargo run -- check ./a
Blocking waiting for file lock on build directory
Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.41s
Running `target/debug/tangram check ./a`
error: No overload matches this call.
Overload 1 of 2, '(function_: () => Unresolved<Value>): Target<[], Value>', gave the following error.
Argument of type '() => void' is not assignable to parameter of type '() => Unresolved<Value>'.
Type 'void' is not assignable to type 'Unresolved<Value>'.
Overload 2 of 2, '(...args: Args<Arg>): Promise<Target<Value[], Value>>', gave the following error.
Argument of type '() => void' is not assignable to parameter of type 'Unresolved<MaybeNestedArray<string | Template | Artifact | Target<Value[], Value> | MaybeMutationMap<ArgObject> | undefined>>'.
Type '() => void' is missing the following properties from type 'Target<Value[], Value>': id, args, checksum, env, and 3 more.
dir_013pt0njk9mtxqs0q8wwfwhcjd1kkzrzx5me3c6tj82ktdcntc21tg:tangram.ts:1:26
error failed to run the command
-> type checking failed
The text was updated successfully, but these errors were encountered:
Given the following tangram definition:
I can build it:
But it fails to typecheck:
The text was updated successfully, but these errors were encountered: