chore(types): convert type literals to records (#1615)

This commit is contained in:
Stanislav
2020-07-19 05:56:28 +03:00
committed by GitHub
parent b8db7ab889
commit fa5ddf8d06
5 changed files with 5 additions and 5 deletions

View File

@@ -51,7 +51,7 @@ import {
import { startMeasure, endMeasure } from './profiling'
import { componentAdded } from './devtools'
export type Data = { [key: string]: unknown }
export type Data = Record<string, unknown>
// Note: can't mark this whole interface internal because some public interfaces
// extend it.