🎉 initiate project *astro_rewrite*
This commit is contained in:
		
							parent
							
								
									ffd4d5e86c
								
							
						
					
					
						commit
						2ba37bfbe3
					
				
					 8658 changed files with 2268794 additions and 2538 deletions
				
			
		
							
								
								
									
										19
									
								
								node_modules/@astrojs/language-server/dist/plugins/css/features/getIdClassCompletions.d.ts
									
										
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								node_modules/@astrojs/language-server/dist/plugins/css/features/getIdClassCompletions.d.ts
									
										
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,19 @@
 | 
			
		|||
import type { Stylesheet } from 'vscode-css-languageservice';
 | 
			
		||||
import { CompletionItem, CompletionList } from 'vscode-languageserver';
 | 
			
		||||
import type { AttributeContext } from '../../../core/documents/parseHtml';
 | 
			
		||||
export declare function getIdClassCompletion(stylesheets: Stylesheet[], attributeContext: AttributeContext): CompletionList | null;
 | 
			
		||||
/**
 | 
			
		||||
 * incomplete see
 | 
			
		||||
 * https://github.com/microsoft/vscode-css-languageservice/blob/master/src/parser/cssNodes.ts#L14
 | 
			
		||||
 * The enum is not exported. we have to update this whenever it changes
 | 
			
		||||
 */
 | 
			
		||||
export declare enum NodeType {
 | 
			
		||||
    ClassSelector = 14,
 | 
			
		||||
    IdentifierSelector = 15
 | 
			
		||||
}
 | 
			
		||||
export type CSSNode = {
 | 
			
		||||
    type: number;
 | 
			
		||||
    children: CSSNode[] | undefined;
 | 
			
		||||
    getText(): string;
 | 
			
		||||
};
 | 
			
		||||
export declare function collectSelectors(stylesheets: CSSNode[], type: number): CompletionItem[];
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue