Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
PolyProgrammist committed Jan 13, 2024
1 parent 5835987 commit 109c651
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions test/tlbgen.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,6 @@ import { randomInt } from 'crypto';

const fixturesDir = path.resolve(__dirname, 'fixtures');

function tonDictToMap<K extends DictionaryKeyTypes, V>(object: Dictionary<K, V>) {
let result = new Map<K, V>();
object.keys().forEach((key: K) => {
let value = object.get(key);
if (value) {
result.set(key, value);
}
})
return result;
}

function isPrimitive(input: any) {
if (input == null) {
// This is here to correctly handle document.all.
Expand Down

0 comments on commit 109c651

Please sign in to comment.