mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-28 14:20:12 +00:00
3 more fixes for TS 3.7 (#38777)
* 3 more fixes for TS 3.7 lyricist: patch tests until TS fixes Promise.all react-relay: fix lint react-sortable-tree: upgrade react-dnd dependency The change to lyricist is just a workaround for now. React-sortable-tree's upgrade is the same as other dependents of react-dnd that I did yesterday. * More compatible workaround for lyricist
This commit is contained in:
committed by
GitHub
parent
643edf5b1c
commit
82a345dfc5
@@ -23,7 +23,7 @@ Promise
|
||||
const artistByName: Artist = results[2];
|
||||
const searchResult: SearchResult[] = results[3];
|
||||
const song: Song = results[4];
|
||||
const songsByArtist: SongByArtist[] = results[5];
|
||||
const songsByArtist: SongByArtist[] = results[5] as SongByArtist[];
|
||||
|
||||
console.log('album', album.name);
|
||||
console.log('artist', artist.name);
|
||||
|
||||
@@ -647,7 +647,7 @@ requestSubscription(
|
||||
const notification = !!rootField ? rootField.getLinkedRecord('notification') : null;
|
||||
// Add it to a connection
|
||||
const viewer = store.getRoot().getLinkedRecord('viewer');
|
||||
const notifications = ConnectionHandler.getConnection(viewer!, 'notifications');
|
||||
const notifications = ConnectionHandler.getConnection(viewer, 'notifications');
|
||||
const edge = ConnectionHandler.createEdge(
|
||||
store,
|
||||
notifications!,
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"react-dnd": "5 || 6 || 7"
|
||||
"react-dnd": "^9.3.1"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user