Skip to content

Instantly share code, notes, and snippets.

View zaripych's full-sized avatar

Rinat Zaripov zaripych

View GitHub Profile
# This script saves an XD transform file into MS Deploy Package with additional validations
# FOR MORE INFO ABOUT XDT TRANSFORMS READ HERE
# https://msdn.microsoft.com/en-us/library/dd465326(v=vs.110).aspx
[CmdletBinding()]
Param(
<#
.SYNOPSIS Path to the file contents of which should be added to the package, contents of this file is the XD transform
#>
# This scripts applies an XD transform to a file
#
# For diagnostic the script outputs a diff between the original file and the transformed file.
# FOR MORE INFO ABOUT XDT TRANSFORMS READ HERE
# https://msdn.microsoft.com/en-us/library/dd465326(v=vs.110).aspx
[CmdletBinding()]
Param(
<#
@zaripych
zaripych / typeFootprint.ts
Last active June 24, 2024 00:16
ts-morph type footprint
import {
Project,
Type,
Symbol,
SymbolFlags,
Signature,
Node,
TypeFormatFlags,
} from 'ts-morph';