🎟
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.
1
/// <reference path="@as-pect/core/types/as-pect.d.ts" />
2
// or...
3
/// <reference path="@as-pect/core/types/as-pect.portable.d.ts" />
Copied!
Last modified 1yr ago
Copy link