• typedef

@steal is a module that refers to the instance of steal that is loading your module. You might use @steal in scenarios where you need to use Steal's special methods, such as steal.done, and don't want to rely on the global window.steal.


The @steal module is the steal that is loading your code.


To use @steal simply import it into your code:

import steal from "@steal";

// Wait for steal to finish loading


This works with any syntax supported by StealJS.

Help us improve StealJS by taking our community survey