Skip to content

Commit

Permalink
#97, #98 - Added './ts3.5' directory files that were missed in previo…
Browse files Browse the repository at this point in the history
…us commit.
  • Loading branch information
elycruz committed Jul 20, 2022
1 parent 69c65e2 commit 99e5fa6
Show file tree
Hide file tree
Showing 5 changed files with 117 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ts3.5/dist/index.d.ts
@@ -0,0 +1,4 @@
import { RollupPluginSassOptions } from "./types";
import { Plugin as RollupPlugin } from 'rollup';
declare const _default: (options?: RollupPluginSassOptions) => RollupPlugin;
export = _default;
1 change: 1 addition & 0 deletions ts3.5/dist/style.d.ts
@@ -0,0 +1 @@
export declare function insertStyle(css: any): any;
81 changes: 81 additions & 0 deletions ts3.5/dist/types.d.ts
@@ -0,0 +1,81 @@
import { types } from 'sass';
export interface IdAndContentObject {
id?: string;
content?: string;
}
export declare type RollupPluginSassOutputFn = (styles: string, styleNodes: IdAndContentObject[]) => any;
export declare type RollupPluginSassProcessorFn<T = string | {
css: string;
}> = (styles: string, id: string) => Promise<T> | T;
export interface RollupPluginSassOptions {
exclude?: string | string[];
include?: string | string[];
insert?: boolean;
options?: SassOptions;
processor?: RollupPluginSassProcessorFn;
output?: boolean | string | RollupPluginSassOutputFn;
runtime?: any;
}
export declare type SassImporterResult = null | {
file?: string;
contents?: string;
} | Error;
export declare type SassDoneFn<T extends SassImporterResult = SassImporterResult> = (result: T) => void | T;
export declare type SassImporter<T extends SassImporterResult = SassImporterResult> = (url: string, prev: string, done: SassDoneFn<T>) => void | T;
export interface SassFunctionsObject {
[index: string]: types.Color | types.Number | types.String | types.List | types.Map | types.Null;
}
export interface SassOptions {
data?: string;
file?: string;
functions?: SassFunctionsObject;
importer?: SassImporter | SassImporter[];
includePaths?: string[];
indentType?: 'space' | 'tab';
indentWidth?: number;
indentedSyntax?: boolean;
linefeed?: string;
omitSourceMapUrl?: boolean;
outFile?: string;
outputStyle?: 'compressed' | 'expanded';
sourceMapContents?: boolean;
sourceMapEmbed?: boolean;
sourceMapRoot?: string;
sourceMap?: boolean | string | undefined;
}
export interface RollupAssetInfo {
fileName: string;
name?: string;
source: string | Uint8Array;
type: 'asset';
}
export interface RollupChunkInfo {
code: string;
dynamicImports: string[];
exports: string[];
facadeModuleId: string | null;
fileName: string;
implicitlyLoadedBefore: string[];
imports: string[];
importedBindings: {
[imported: string]: string[];
};
isDynamicEntry: boolean;
isEntry: boolean;
isImplicitEntry: boolean;
map: {
[index: string]: string;
} | null;
modules: {
[id: string]: {
renderedExports: string[];
removedExports: string[];
renderedLength: number;
originalLength: number;
code: string | null;
};
};
name: string;
referencedFiles: string[];
type: 'chunk';
}
1 change: 1 addition & 0 deletions ts3.5/dist/utils/index.d.ts
@@ -0,0 +1 @@
export declare const log: any, warn: any, error: any, isset: (x: any) => boolean, isString: (x: any) => boolean, isObject: (x: any) => boolean, isFunction: (x: any) => boolean;
30 changes: 30 additions & 0 deletions ts3.5/tsconfig.json
@@ -0,0 +1,30 @@
{
"compilerOptions": {
"module": "CommonJS",
"moduleResolution": "node",
"target": "es2015",
"outDir": "./dist",
"declaration": true,
"declarationDir": "./dist",
"lib": [
"es2015",
"dom"
],
"removeComments": true,
"preserveConstEnums": true,
"noImplicitAny": false,
"sourceMap": true,
"esModuleInterop": true,
"downlevelIteration": true,
"importHelpers": false,
"typeRoots": [
"node_modules/@types"
]
},
"include": [
"./src/*"
],
"exclude": [
"**/node_modules/**"
]
}

0 comments on commit 99e5fa6

Please sign in to comment.