diff --git a/docs/components/api.md b/docs/components/api.md
index 6051e207b..447a00242 100644
--- a/docs/components/api.md
+++ b/docs/components/api.md
@@ -123,7 +123,7 @@ The following primitives can be imported from the `@stencil/core` package and us
- **forceUpdate()**: Schedules a new render of the given instance or element even if no state changed. Notice `forceUpdate()` is not synchronous and might perform the DOM render in the next frame.
- __Type:__ `(ref: HTMLElement) => void`
+ __Type:__ `(ref: any) => void`
__Example:__
```ts
import { forceUpdate } from '@stencil/core'
@@ -163,7 +163,7 @@ The following primitives can be imported from the `@stencil/core` package and us
- **setMode()**: Sets the style mode of a component. Refer to the [Styling](./styling.md#style-modes) page for usage info.
- __Type:__ `(ref: HTMLElement) => string`
+ __Type:__ `((elm: HTMLElement) => string | undefined | null) => void`
__Example:__
```ts
import { setMode } from '@stencil/core'
@@ -174,7 +174,7 @@ The following primitives can be imported from the `@stencil/core` package and us
- **getMode()**: Get the current style mode of your application. Refer to the [Styling](./styling.md#style-modes) page for usage info.
- __Type:__ `(ref: HTMLElement) => string`
+ __Type:__ `(ref: any) => string | undefined`
__Example:__
```ts
import { getMode } from '@stencil/core'
@@ -184,7 +184,7 @@ The following primitives can be imported from the `@stencil/core` package and us
- **getElement()**: Retrieve a Stencil element for a given reference.
- __Type:__ `(ref: getElement) => string`
+ __Type:__ `(ref: any) => HTMLStencilElement`
__Example:__
```ts
import { getElement } from '@stencil/core'