Skip to content

Commit 937ea46

Browse files
committed
Various small fixes
1 parent 10e1dc4 commit 937ea46

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -380,10 +380,7 @@ module.exports = {
380380
],
381381
'@babel/preset-react'
382382
],
383-
plugins: [
384-
'@babel/plugin-proposal-class-properties',
385-
'@babel/plugin-proposal-object-rest-spread'
386-
]
383+
plugins: []
387384
};
388385
```
389386

examples/Bootstrap4/webpack.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// @ts-check
22

33
const path = require('path');
4-
const postcssPresetEnv = require('postcss-preset-env');
54

65
/** @type import('webpack').Configuration */
76
const config = {

packages/react-form-with-constraints/jest.setup.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ configure({ adapter: new Adapter() });
77
// [console.assert not throwing with v22.4.0](https://github.com/facebook/jest/issues/5634)
88
console.assert = assert;
99

10+
// FIXME Remove when Node.js >= 15 is LTS
11+
//
1012
// [Event: 'unhandledRejection'](https://nodejs.org/api/process.html#process_event_unhandledrejection)
1113
// [Bluebird Error management configuration](http://bluebirdjs.com/docs/api/error-management-configuration.html)
1214
//
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
/**
22
* Make all properties in T nullable
3+
*
4+
* https://github.com/microsoft/TypeScript/blob/v4.0.5/src/lib/es5.d.ts#L1439-L1441
35
*/
46
export type Nullable<T> = { [P in keyof T]: T[P] | null };

0 commit comments

Comments
 (0)