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 1 2 5 1 4 0 0
2 3 0 4 0 0 3 3 3 5 5 5
@SamVerschueren
SamVerschueren / test.md
Last active August 7, 2021 19:16
StackBlitz code snippets

Clicking the button below will open stackblitz.com with the content of this snippet 🎉.

@SamVerschueren
SamVerschueren / main.js
Created December 28, 2017 18:41
vscode-languageserver-types
/* --------------------------------------------------------------------------------------------
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
* ------------------------------------------------------------------------------------------ */
'use strict';
Object.defineProperty(exports, "__esModule", { value: true });
/**
* The Position namespace provides helper functions to work with
* [Position](#Position) literals.
*/
@SamVerschueren
SamVerschueren / ml-completion.provider.ts
Created December 14, 2017 07:07
Example of a completion provider for ngx-monaco
import { Injectable } from '@angular/core';
import { CompletionItemProvider } from 'ngx-monaco';
interface PropertyValue {
name: string;
description?: string;
}
interface Property {
name: string;
@SamVerschueren
SamVerschueren / license.js
Last active June 27, 2017 06:13
transformation function
'use strict';
const transform = pkg => {
pkg.license = 'MIT';
return pkg;
};
exports.transformations = [
{
transform,
module.exports = (message, queueName, options) => {
options = Object.assign({
awsAccountId: process.env.AWS_ACCOUNT_ID
}, options);
if (!message) {
return Promise.reject(new TypeError('Please provide a message'));
}
// All the rest
@SamVerschueren
SamVerschueren / index.es6.js
Created November 23, 2016 08:23
Mangling Name
class FooError extends Error {
constructor(message) {
super(message);
}
}
console.log(FooError.name);
@SamVerschueren
SamVerschueren / concat.d.ts
Created August 25, 2016 20:51
declare module
declare module "concat";
@SamVerschueren
SamVerschueren / index.ts
Created August 25, 2016 20:29
concat wrong example
import * as concat from 'concat';
console.log(concat('foo', 5));
@SamVerschueren
SamVerschueren / index.ts
Created August 25, 2016 20:27
concat example
import * as concat from 'concat';
console.log(concat('foo', 'bar'));