From a8d7b3d62f0120682146bf1314dd5f3450868a95 Mon Sep 17 00:00:00 2001 From: gwyneplaine Date: Mon, 26 Apr 2021 17:14:29 +1000 Subject: [PATCH 01/13] remove ert and replace with magical-types --- babel.config.js | 1 + docs/PropTypes/Async.ts | 20 +- docs/PropTypes/Creatable.ts | 20 +- docs/PropTypes/Select.ts | 22 +- docs/PropTypes/stateManager.ts | 20 +- docs/package.json | 3 +- docs/pages/props/index.tsx | 235 ++++------- package.json | 2 +- yarn.lock | 745 ++++++++++++++++++++------------- 9 files changed, 583 insertions(+), 485 deletions(-) diff --git a/babel.config.js b/babel.config.js index 271ed97774..0d3f8f50d5 100644 --- a/babel.config.js +++ b/babel.config.js @@ -3,6 +3,7 @@ module.exports = { '@emotion/babel-plugin', ['@babel/plugin-proposal-class-properties', { loose: true }], '@babel/plugin-transform-runtime', + 'babel-plugin-macros', ], presets: [ '@babel/preset-env', diff --git a/docs/PropTypes/Async.ts b/docs/PropTypes/Async.ts index 736f94a3b5..99e06dd467 100644 --- a/docs/PropTypes/Async.ts +++ b/docs/PropTypes/Async.ts @@ -1,10 +1,10 @@ -// import { Component } from 'react'; -// -// import { AsyncProps } from 'react-select/src/Async'; -// import { GroupBase, OptionBase } from 'react-select'; -// -// export default class Select< -// Option extends OptionBase, -// IsMulti extends boolean, -// Group extends GroupBase