Commit af867d0a authored by David Anderson's avatar David Anderson
Browse files

makeList is generic instead of any

parent 69bf0ccf
export function makeList( x: any | Array<any> ): Array<any> {
let ret: Array<any>;
export function makeList<T = any>( x: T | Array<T> ): Array<T> {
let ret: Array<T>;
if ( x instanceof Array ) {
ret = x;
} else if ( x !== undefined ) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment