mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-01 12:42:58 +08:00
Converting ungeneric "Array" to "any[]"
TypeScript 0.9.5 beta does not allow generic type references without the type argument. This code will still compile for 0.9.1 users. Flight and Ember have further compile problems in 0.9.5 that I don't feel qualified to address as I'm not versed in those libraries.
This commit is contained in:
2
node_zeromq/zmq.d.ts
vendored
2
node_zeromq/zmq.d.ts
vendored
@@ -142,7 +142,7 @@ declare module 'zmq' {
|
||||
* @param msg The message
|
||||
* @param flags Message flags
|
||||
*/
|
||||
send(msg: Array, flags?: number): Socket;
|
||||
send(msg: any[], flags?: number): Socket;
|
||||
|
||||
/**
|
||||
* Close the socket.
|
||||
|
||||
Reference in New Issue
Block a user