Skip to content

StringKeys<T>

A type that represents the keys of an object as strings.

Import:

import type { StringKeys } from 'obsidian-dev-utils/type';

Signature:

export type StringKeys<T extends object>

Signature:

type StringKeys<T> = Extract<keyof T, string>

Type: Extract<keyof T, string>


Links to this page: