This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$primary: #334455; | |
.card { | |
--primary-color: $primary; | |
} | |
.card { | |
--primary-color: #{$primary}; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
"name": "ng serve", | |
"type": "msedge", | |
"request": "launch", | |
"preLaunchTask": "npm: start", | |
"url": "http://localhost:4200/" | |
}, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
interface ApiData { | |
'maps:longitude': string; | |
'maps:latitude': string; | |
} | |
type RemoveMapsFromData<T> = { | |
[K in keyof T as RemoveMaps<K>]: T[K]; | |
}; | |
type ExpectedApiData = RemoveMapsFromData<ApiData>; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
🎉 Congratulations! You are eligible to use GitHub Copilot for free. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type DeepPartial<Thing> = Thing extends Function | |
? Thing | |
: Thing extends Array<infer InferredArrayMembmer> | |
? Array<DeepPartial<Thing>> | |
: Thing extends object | |
? DeepPartialObject<Thing> | |
: Thing | undefined; | |
type DeepPartialObject<Thing> = { | |
[Key in keyof Thing]?: DeepPartial<Thing[Key]>; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git for-each-ref --format '%(refname:short)' refs/heads | ForEach-Object {If($_.StartsWith("main") -eq $false) { git branch -D $_ }} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Type definitions for smooch 5.3 | |
// Project: https://github.com/zendesk/sunshine-conversations-web | |
// Definitions by: Jordan Sorensen <https://github.com/jpsorensen> | |
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | |
declare namespace Smooch { | |
/** | |
* Initializes the Smooch widget in the web page using the specified options. It returns a promise that will resolve when the Web Messenger is ready. Note that except on and off, all methods needs | |
* to be called after a successful init. | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From df02cbd00bebd0b2ae77302c35ffe8fef47a7343 Mon Sep 17 00:00:00 2001 | |
From: =?UTF-8?q?Piotr=20B=C5=82a=C5=BCejewicz?= | |
<[email protected]> | |
Date: Wed, 5 Jan 2022 22:57:18 +0100 | |
Subject: [PATCH] pr review | |
--- | |
types/async-busboy/async-busboy-tests.ts | 2 +- | |
types/async-busboy/tsconfig.json | 5 + | |
types/busboy/busboy-tests.ts | 369 ++++++++++------------- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { HttpClientModule } from '@angular/common/http'; | |
import { NgModule } from '@angular/core'; | |
import { BrowserModule } from '@angular/platform-browser'; | |
import { downgradeInjectable, UpgradeModule } from '@angular/upgrade/static'; | |
import { AppRoutingModule } from './app-routing.module'; | |
import { AppComponent } from './app.component'; | |
import { CheckmarkPipe } from './checkmark/checkmark.pipe'; | |
import { PhoneDetailContainerComponent } from './phone-detail/phone-detail-container.component'; | |
import { PhoneDetailDirective } from './phone-detail/phone-detail.directive'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git branch | %{ $_.Trim() } | ?{ $_ -ne 'master' } | %{ git branch -D $_ } |