import { Permute, trace, getValue } from 'override.ps1';
import { Promise } from '@types/promises';
import { Swap, appendDataToProperty } from 'override.ps1';
// stdout to console.
trace("This is a traced message.");
// If you prefer Generic Programming.
const A = [2, 5, 6];
const R = Permute<number>(A);
trace("All Permutations: ");
R.forEach((permutation) => {
console.log(permutation);
});
trace(" == End of Script == ");
const over = require('override.ps1');
over.info("This is a log message");
var id = over.generatePlayerId();
over.info(id);
// Creates Key Value Pair and Prints them
over.CreateKeyValuePair("userid", 10002);