Skip to content

Commit 2f4de4a

Browse files
authored
docs: fix typos (#217)
Fix minor typos in docs.
1 parent 12b3bb4 commit 2f4de4a

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

packages/pic/src/pocket-ic.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -627,8 +627,6 @@ export class PocketIc {
627627
*
628628
* @see [Principal](https://js.icp.build/core/latest/libs/principal/api/classes/principal/)
629629
* @see [InterfaceFactory](https://js.icp.build/core/latest/libs/candid/api/namespaces/idl/type-aliases/interfacefactory/)
630-
*
631-
* @example
632630
*/
633631
public createDeferredActor<T extends ActorInterface<T> = ActorInterface>(
634632
interfaceFactory: IDL.InterfaceFactory,
@@ -815,6 +813,7 @@ export class PocketIc {
815813
*
816814
* await pic.tearDown();
817815
* await picServer.stop();
816+
* ```
818817
*/
819818
public async getControllers(canisterId: Principal): Promise<Principal[]> {
820819
return await this.client.getControllers({ canisterId });
@@ -1283,7 +1282,7 @@ export class PocketIc {
12831282
* const picServer = await PocketIcServer.start();
12841283
* const pic = await PocketIc.create(picServer.getUrl());
12851284
*
1286-
* const newCyclesBalance = await pic.addCycles(canisterId, 10_000_000);
1285+
* const newCyclesBalance = await pic.addCycles(canisterId, BigInt(10_000_000));
12871286
*
12881287
* await pic.tearDown();
12891288
* await picServer.stop();

0 commit comments

Comments
 (0)