mirror of
				https://github.com/microsoft/playwright.git
				synced 2025-06-26 21:40:17 +00:00 
			
		
		
		
	This adds a new check to doclint for whether a member is correctly marked as optional. part of #6
		
			
				
	
	
		
			15 lines
		
	
	
		
			166 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			166 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
class A {
 | 
						|
  property1 = 1;
 | 
						|
  _property2 = 2;
 | 
						|
  constructor(delegate) {
 | 
						|
  }
 | 
						|
 | 
						|
  get getter() : any {
 | 
						|
    return null;
 | 
						|
  }
 | 
						|
 | 
						|
  async method(foo, bar) {
 | 
						|
  }
 | 
						|
}
 | 
						|
 | 
						|
export {A}; |