🎟
Types and Tooling
Leveraging vscode
The
as-pect
assembly comes with a way to generate the types for all the globals used by the framework. This will greatly increase your productivity because it comes with lots of documentation, and adds a lot of intellisense to your development experience.It is also possible to reference the types manually. Use the following reference at the top of your
assembly/index.ts
file to include these types in your project automatically. If you use this method for your types, feel free to delete the auto-generated types file in your test folder./// <reference path="@as-pect/core/types/as-pect.d.ts" />
// or...
/// <reference path="@as-pect/core/types/as-pect.portable.d.ts" />
Last modified 3yr ago