Skip to content

API reference > @kontsedal/olas-codemod > useController

useController variable ​

useController(root) was an identity function over the root, typed as its api. 1.0 removes it; the api is root.api. This runs after root-api, so the .api it writes is not taken for an api member.

Signature:

typescript
useController: Transform

Released under the MIT License.