type Type = 'a' | 'b'
interface Base {
  type: Type
  data: {}
}
interface A extends Base {
 type: 'a'
  
    
      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
    
  
  
    
  | const injectJsx: JsPlugin = { | |
| name: 'inject-jsx', | |
| transform: { | |
| filters: { | |
| moduleTypes: ['tsx', 'jsx'], | |
| }, | |
| executor: async (param) => ({ | |
| content: `import React from 'react';\n${param.content}`, | |
| }), | |
| }, | 
  
    
      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
    
  
  
    
  | # Add IP blacklist which you want to filtering from some DNS server here. | |
| # The example below filtering ip from the result of DNS server which is configured with -blacklist-ip. | |
| # blacklist-ip [ip/subnet] | |
| # blacklist-ip 254.0.0.1/16 | |
| blacklist-ip 4.36.66.178 | |
| blacklist-ip 8.7.198.45 | |
| blacklist-ip 31.13.64.1 | |
| blacklist-ip 31.13.64.33 | |
| blacklist-ip 31.13.64.49 | |
| blacklist-ip 31.13.65.1 | 
  
    
      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
    
  
  
    
  | -----BEGIN PGP PUBLIC KEY BLOCK----- | |
| mQINBGHgYvkBEACXXcTw2hUVWU3iSmlUactcSXE+UfCSxeGITuycjJK7gUNaclOG | |
| 1ppjqbksMdzNhDenBRBhQ7emMSgaG1q06OmsquKWf9R6oXjxR8lrcBccdgqXYHKA | |
| OqH2kVP9Jjc3JhSMND6/rS7m4bnjm/TMyneo9+st9WHfkyiQ3zYspoPw3lCIuCoS | |
| 5yqfSFA22N2PvVGTKlORP9PrUfgHyDDLbzilPmKR7E+ZrZlTq1spGOgLxO/URm1Z | |
| HjisGbTzK8i72pVXK3OgSvjw9zTRf3t3ujIvMbcN8cjwV7T/MD4mOwhqXqeOkCUt | |
| GNRQCkj3JtvAFeMGpHkgjKFLpxAQGnwHVydPU4lNWWqOMQlToHADjPLoNQTBSjTB | |
| rQJW2CoDzZGkesKeOmbnzmtv3XkrbW3EW7Ryo35Orflfolgqs/fkhwOqYujzbBTy | |
| T2rYE3CpHtrLdV4ntMlCSsz70EuqhmV/aYLTTGH2Znoo6xMR9o8rnYQeylT2A5Xn | 
  
    
      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
    
  
  
    
  | //需配合 Owl Redirector 或其他的重定向工具使用 | |
| //Filter: /^http(s)?:\/\/adnmb.?\.com/ | |
| url =>{ | |
| var parser = document.createElement('a'); | |
| parser.href = url; | |
| if(parser.protocol === 'http:'){parser.protocol = 'https:';} | |
| if(parser.pathname === '/Forum' || parser.pathname === '/'){parser.pathname = '/f/时间线';} | |
| return parser.href; | |
| } |