Ver código fonte

Fix function documentation.

Jason Grout 6 anos atrás
pai
commit
911c6dee7c

+ 1 - 1
packages/services/src/kernel/default.ts

@@ -1211,7 +1211,7 @@ namespace DefaultKernel {
    *
    * @param settings - The server settings for the request.
    *
-   * @returns A promise that resolves with the kernel object.
+   * @returns The kernel object.
    *
    * #### Notes
    * If the kernel was already started via `startNewKernel`, the existing

+ 1 - 1
packages/services/src/kernel/kernel.ts

@@ -525,7 +525,7 @@ namespace Kernel {
    *
    * @param settings - The server settings for the request.
    *
-   * @returns A promise that resolves with the kernel object.
+   * @returns The kernel object.
    *
    * #### Notes
    * If the kernel was already started via `startNewKernel`, the existing

+ 1 - 1
packages/services/src/session/session.ts

@@ -271,7 +271,7 @@ namespace Session {
    *
    * @param settigns - The server settings.
    *
-   * @returns A promise that resolves with the session instance.
+   * @returns The session instance.
    *
    * #### Notes
    * If the session was already started via `startNew`, the existing